dnl Process this file with autoconf to produce a configure script.

AC_INIT(configure.ac)

dnl Note that 'make rpm' depends on having no '-' in the version:
AM_INIT_AUTOMAKE(gdcalc, 2.18, [bob.hepple@gmail.com])
AM_MAINTAINER_MODE
AM_CONFIG_HEADER(config.h)
AC_PREFIX_DEFAULT(/usr)
dnl Pick up the Gnome macros.
dnl AM_ACLOCAL_INCLUDE(macros)

AC_ISC_POSIX
AC_PROG_CC
AM_PROG_CC_STDC
AC_HEADER_STDC
AC_PROG_YACC

dnl Add the languages which your application supports here.
dnl ALL_LINGUAS=""

pkg_modules="libgnomeui-2.0"
PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
AC_SUBST(PACKAGE_CFLAGS)
AC_SUBST(PACKAGE_LIBS)

AC_CONFIG_FILES([
Makefile
src/Makefile
gdcalc.spec
])

AC_OUTPUT
